package DCSource.Archive;

public class FileInformation {
	private String name;
	private long Time;
	private long Size;
	private long CompressedSize;
	private boolean isfile;
	public FileInformation(String name, long Time, long Size, long CompressedSize,boolean isfile){
		this.name = name;
		this.Time = Time;
		this.Size = Size;
		this.CompressedSize = CompressedSize;
		this.isfile = isfile;
	}
	public String getName(){
		return name;
	}
	public long LastChange(){
		return Time;
	}
	public long getSize(){
		return Size;
	}
	public long getCompressedSize(){
		return CompressedSize;
	}
	public boolean isFile(){
		return isfile;
	}
	public boolean isDirectory(){
		return !isfile;
	}
}
